package com.qf.cx.simplenms.topic.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import com.qf.cx.simplenms.common.config.CommonConfig;
import com.qf.cx.simplenms.topic.api.TopicManager;
import com.qf.cx.simplenms.topic.impl.TopicManagerImpl;

@Configuration
@ComponentScan(basePackageClasses = { CommonConfig.class })
public class TopicConfig {
	@Bean
	TopicManager topicManager() {
		return new TopicManagerImpl();
	}
}
